﻿using B.S.BaseData.ErrorCode;
using B.S.DataBase.EFCoreServiers.Dtos.Depts;
using B.S.DataBase.EFCoreServiers.Dtos.Meetings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.EFCoreServiers.IServices.Meetings
{
    public interface IMeetingRoomServices
    {
        /// <summary>
        /// 添加会议室
        /// </summary>
        /// <param name="addMeetingRoomDto"></param>
        /// <returns></returns>
        Task<ApiResult> AddMeetingRoomAsync(AddMeetingRoomDto addMeetingRoomDto);
        /// <summary>
        /// 获取会议室列表
        /// </summary>
        /// <param name="getMeetingRoom"></param>
        /// <returns></returns>
        Task<ApiResult<ApiPaging<GetMeetingRoomResponseDto>>> GetDepartmentListAsync(GetMeetingRoomDto  getMeetingRoom);

        /// <summary>
        /// 更新会议室信息
        /// </summary>
        /// <param name="updateMeetingRoom"></param>
        /// <returns></returns>
        Task<ApiResult> UpdateMeetingRoomAsync(UpdateMeetingRoomDto  updateMeetingRoom);

        /// <summary>
        /// 删除会议室
        /// </summary>
        /// <param name="Id">会议室ID</param>
        /// <returns>操作结果</returns>
        Task<ApiResult> DeleteMeetingRoomAsync(int Id);

        /// <summary>
        /// 删除会议室
        /// </summary>
        /// <param name="Id">会议室ID</param>
        /// <returns>操作结果</returns>
        Task<ApiResult> DeleteMeetingRoomRangeAsync(string Id);


    }
}
